package com.hbl.cgs.cgsagent.plugin;

public abstract class AbstractPollingInputPlugin extends AbstractInputPlugin {
    protected abstract Event onRun();

    @Override
    public void run() {
        Event event = onRun();
        event = filter.filter(event);
        dataQueue.put(event);
    }

    @Override
    public void run(Event signalEvent) {

    }
}
